package com.kimwu.kill.mall.order.web.service.feign;

import com.kimwu.kill.mall.item.common.dto.StockGetItemDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author silence
 * @description ManageFeignService
 * @since 2020/8/21 9:18
 */
@FeignClient(name = "kimwu-kill-item-pre")
public interface ItemFeignService {

    @PostMapping("/itemPre/v1/stockGetItemPre")
    String stockGetItemPre(@RequestBody StockGetItemDTO dto);

}
